<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>

<title>法人损益表</title><span id="navlink"> 企业客户信息登记  >> 法人损益表</span>

<script type="text/javascript"src="<%=request.getContextPath()%>/js/custom/companyprofit.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/numdiv.js"></script>   <s:if test='#session.eflage=="show"'> <style type="text/css">	select {border:0;-webkit-appearance: none;} </style> </s:if>
<style type="text/css">
.ftab ul li{padding:0 10px;float:left;font-weight:bold;}
.ftab a{color:black}
.ftab a:hover{text-decoration:underline;}
</style>


<script>
  $(function() {
    $( "#accordion" ).accordion({
      collapsible: true
    });
    
    
  });
 </script>

<div id="accordion" style="width:auto">
  <h3>客户信息登记</h3>
  <div class="ftab">
    <ul >
			<li><a href="customShow!companyread">基本信息</a></li>
			<li><a href="customList!contactlist">联系信息</a></li>
			<li><a href="customList!topmanagerlist">高管信息</a></li>
			<li><a href="customList!prosecutedlist">被起诉信息</a></li>
			<li><a href="customList!investorlist">投资人信息</a></li>
			<li><a href="customList!foreigninvestorlist">对外投资信息</a></li>
			<!-- 
			<li><a href="customList!guarantorlist">法人保证人专用信息表</a></li>
			 -->
			<li><a href="customList!pledgercompanylist">抵质押清单信息</a></li>			
		
			<li><a href="customList!managelist">管理信息</a></li>	
					
			<li><a href="customList!externalguaranteelist">对外担保信息</a></li>
			<!-- 
			<li><a href="NewCompanyOtherrelation">法人其他关联关系表</a></li>
			 -->
			 
			<li><a href="customList!otherloanlist">其他借款</a></li>
			 
			<li><a href="customList!bankcreditlist">银行信贷信息</a></li>
			
			
			
			<li><a href="customList!cashflowlist">现金流量表</a></li>
			<li><a href="customList!assetsdebtlist">资产负债表</a></li>
			<li><a href="customList!profitlist">损益表表</a></li>	
			 <li><a href="upload!filelist?listtype=1">客户基础资料归档目录</a></li>
			 <li><a href="upload!filelist?listtype=2">客户必备资料归档目录</a></li>			
				<!-- <li><a href="./ListCompanyPledger!getCompanyPledgerList">抵押清单信息</a></li> -->			
		</ul>
  </div>
</div>
<div class="clear"></div>
<div id="msg"></div>

<form name="newCompanyProfit" action="customActionDo!profitsave" method="post" id="form">
<input type="hidden" name="cprofit.id"  value="${cprofit.id }" />

客户ID RF02<input type="text" class="companyid" readonly="readonly" name="cprofit.cid" value="${sessionScope.companyid}" />
报表日期<input type="text" class="datepicker"  readonly="readonly" name="cprofit.decdate"  value="<s:date name="cprofit.decdate" format="yyyy-MM-dd" />" />
<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
<tr>
<td align="center"  class="fheadline" >一、主营业务收入</td>
<td ><input  type="text" id="calaadd1"  name="cprofit.mainbusinessincome" class="numdiv" value="${cprofit.mainbusinessincome}" /></td>
</tr>
<tr>
<td align="right" >减：主营业务成本</td>
<td><input type="text" id="calasub2" name="cprofit.mainbusinesscostreduct" class="numdiv" value="${cprofit.mainbusinesscostreduct}" /></td>
</tr>
<tr>
<td align="right">主营业务税金及附加</td>
<td><input type="text" id="calaadd3" name="cprofit.mainbusinesstaxes" class="numdiv" value="${cprofit.mainbusinesstaxes}" /></td>
</tr>
<tr>
<td align="center" class="fheadline">二、主营业务利润（亏损以“－”号填列）</td>
<td><input type="text" id="calbadd1" name="cprofit.mainbusinesspf" class="numdiv" value="${cprofit.mainbusinesspf}" /></td>
</tr>
<tr>
<td align="right">加：其他业务利润（亏损以“－”号填列）</td>
<td><input type="text" id="calbadd2" name="cprofit.pfotheroperations" class="numdiv" value="${cprofit.pfotheroperations}" /></td>
</tr>
<tr>
<td align="right">减：营业费用</td>
<td><input type="text" id="calbsub3"  name="cprofit.loperatexpenses" class="numdiv" value="${cprofit.loperatexpenses}" /></td>
</tr>
<tr>
<td align="right">管理费用</td>
<td><input type="text" id="calbsub4" name="cprofit.managementfee" class="numdiv" value="${cprofit.managementfee}" /></td>
</tr>
<tr>
<td align="right">财务费用</td>
<td><input type="text" id="calbsub5" name="cprofit.financialexpenses" class="numdiv" value="${cprofit.financialexpenses}" /></td>
</tr>
<tr>
<td align="center" class="fheadline">三、营业利润（亏损以“－”号填列）</td>
<td><input type="text" id="calcadd1" name="cprofit.opepf" class="numdiv" value="${cprofit.opepf}" /></td>
</tr>
<tr>
<td align="right">加：投资收益（亏损以“－”号填列）</td>
<td><input type="text" id="calcadd2" name="cprofit.pinvestmentincome" class="numdiv" value="${cprofit.pinvestmentincome}" /></td>
</tr>
<tr>
<td align="right">补贴收入</td>
<td><input type="text" id="calcadd3" name="cprofit.subsidyincome" class="numdiv" value="${cprofit.subsidyincome}" /></td>
</tr>
<tr>
<td align="right">营业外收入</td>
<td><input type="text" id="calcadd4" name="cprofit.operatingincome" class="numdiv" value="${cprofit.operatingincome}" /></td>
</tr>
<tr>
<td align="right">减：营业外支出</td>
<td><input type="text" id="calcsub5" name="cprofit.loperatexpenditure" class="numdiv" value="${cprofit.loperatexpenditure}" /></td>
</tr>
<tr>
<td align="center" class="fheadline">四、利润总额（亏损总额以“－”号填列）</td>
<td><input type="text" id="caleadd1" name="cprofit.tpf" class="numdiv" value="${cprofit.tpf}" /></td>
</tr>
<tr>
<td align="right">减：所得税</td>
<td><input type="text" id="calesub2" name="cprofit.lincometax" class="numdiv" value="${cprofit.lincometax}" /></td>
</tr>
<tr>
<td align="center" class="fheadline">五、净利润</td>
<td><input type="text" id="calfadd1" name="cprofit.netpf" class="numdiv" value="${cprofit.netpf}" /></td>
</tr>
<tr>
<td align="right">加：年初未分配利润</td>
<td><input type="text" id="calfadd2" name="cprofit.sundistributpf" class="numdiv" value="${cprofit.sundistributpf}" /></td>
</tr>
<tr>
<td align="right">其他转入</td>
<td><input type="text" id="calfadd3" name="cprofit.otherinto" class="numdiv" value="${cprofit.otherinto}" /></td>
</tr>
<tr>
<td align="center" class="fheadline">六、可供分配的利润</td>
<td><input type="text" id="calgadd1" name="cprofit.pfavafordistribution" class="numdiv" value="${cprofit.pfavafordistribution}" /></td>
</tr>
<tr>
<td align="right">减：提取法定盈余公积</td>
<td><input type="text" id="calgsub2" name="cprofit.lstatutorysurplusreserve" class="numdiv" value="${cprofit.lstatutorysurplusreserve}" /></td>
</tr>
<tr>
<td align="right">提取法定公益金</td>
<td><input type="text" id="calgsub3" name="cprofit.statutorypublicwelfarefund" class="numdiv" value="${cprofit.statutorypublicwelfarefund}" /></td>
</tr>
<tr>
<td align="right">提取职工奖励及福利基金</td>
<td><input type="text" id="calgsub4" name="cprofit.esbwelfarefund" class="numdiv" value="${cprofit.esbwelfarefund}" /></td>
</tr>
<tr>
<td align="right">提取储备基金</td>
<td><input type="text" id="calgsub5" name="cprofit.reservefund" class="numdiv" value="${cprofit.reservefund}" /></td>
</tr>
<tr>
<td align="right">提取企业发展基金</td>
<td><input type="text" id="calgsub6" name="cprofit.eedevelopmentfund" class="numdiv" value="${cprofit.eedevelopmentfund}" /></td>
</tr>
<tr>
<td align="right">利润归还投资</td>
<td><input type="text" id="calgsub7" name="cprofit.returnofinvestment" class="numdiv" value="${cprofit.returnofinvestment}" /></td>
</tr>
<tr>
<td align="center" class="fheadline">七、可供投资者分配的利润</td>
<td><input type="text" id="calhadd1" name="cprofit.distributionpfforinv" class="numdiv" value="${cprofit.distributionpfforinv}" /></td>
</tr>
<tr>
<td align="right">减：应付优先股股利</td>
<td><input type="text" id="calhsub2" name="cprofit.lpstockdivspaye" class="numdiv" value="${cprofit.lpstockdivspaye}" /></td>
</tr>
<tr>
<td align="right">提取任意盈余公积</td>
<td><input type="text" id="calhsub3" name="cprofit.edarysurplusreserve" class="numdiv" value="${cprofit.edarysurplusreserve}" /></td>
</tr>
<tr>
<td align="right">应付普通股股利</td>
<td><input type="text" id="calhsub4" name="cprofit.cstockdividendspay" class="numdiv" value="${cprofit.cstockdividendspay}" /></td>
</tr>
<tr>
<td align="right">转作资本（或股本）的普通股股利</td>
<td><input type="text" id="calhsub5" name="cprofit.ttctockdividends" class="numdiv" value="${cprofit.ttctockdividends}" /></td>
</tr>

<tr>
<td align="center" class="fheadline">八、未分配利润</td>
<td><input type="text" id="caliadd1" name="cprofit.undistributedpf" class="numdiv" value="${cprofit.undistributedpf}" /></td>
</tr>

</table>

企业负责人<input type="text" name="cprofit.persononcharge"  value="${cprofit.persononcharge }" />
主管会计<input type="text" name="cprofit.mainaccountant"  value="${cprofit.mainaccountant }" />
制表<input type="text" name="cprofit.tabulation"  value="${cprofit.tabulation }" />
报出日期<input type="text" class="datepicker"  readonly="readonly" name="cprofit.outdate"  value="<s:date name="cprofit.outdate" format="yyyy-MM-dd" />" />



<div id="button_area">
<div><input type="submit"  value="提交"/></div>
	
</form>

<input type="hidden" id="eflage" name="eflage" value="${sessionScope.eflage }" />
<script type="text/javascript">
<!--
	$(document).ready(function(){
		if($("#eflage").val() === 'show'){
			$("input[type='text']").prop("readonly", true);
			$("input[type='select']").prop("disabled", true);
			$("input[type='text']").addClass("companyid");
			//$("input[type='select']").addClass("companyid");
			$("#button_area").hide();
			$("#left_area").hide();
			$(".del").hide();
			$(".smodify").html('浏览');
			
		}
	});
//-->
</script>
